package com.sykj.config.aop;

import java.lang.annotation.*;

/**
 * @program: BeautyClub
 * @description: 防重放攻击的 自定义注解
 * @author: qiaoli
 * @create: 2020-07-24 08:56
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface DuplicateSubmit {
    /**
     * 功能描述: 间隔多长时间为重复提交
     * @Param: []
     * @Return: int
     * @Author: Feiwo Sicun
     * @Date: 2020/7/24 8:57
     */
    int   time() default  2;
}
